home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Dec 89 / 0217-1.TTEViews & 2.Openi-Dec89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.9 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    2991480                         18-Dec-89        06:47
  2.  
  3. From:   D5284                           BDM Int'l, Ann Confer,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    1.TTEViews & 2.Opening Applic
  8.  
  9.    I have two questions: one concerning opening a MacApp application, the other
  10. concerning the implementation of a TTEView in ViewEdit.
  11.  
  12. 1. I have an application that was built in MacApp that generates an Expection
  13. #2 bad address error (requiring a complete reboot of the machine) whenever I
  14. open the application by double-clicking on the application icon.  If I select
  15. the icon and use the Open command, it opens fine (I still get occasional system
  16. bombs but these do not occur with any identified regularity).  Other
  17. applications do not have this problem.  Is there something that typically
  18. causes this problem?
  19.  
  20. 2. I have a simple TWindow defined in ViewEdit.  It has a TScroller as a
  21. subview and a TTEView as a subview of the TScroller.  All are defined as
  22. enabled and shown.  The TTEView is also defined to accept changes (the
  23. associated field in the object does get set to true in the application).  In
  24. the application, text is read from a file and stuffed into the TTEView; however
  25. no editing of this displayed text is supported.  The commands in the File menu
  26. are not enabled.  I even tried explicitly calling DoSetupMenus for the TTEView,
  27. but the Cut and Copy commands are still disabled.  In addition, the TTEView
  28. size is static.  It truncates text that is longer than the size defined in
  29. ViewEdit.  Isn't one of the TTEView methods supposed to resize the view based
  30. on the size of the text stuffed into it?  The problem with defining a maximum
  31. size TTEView in ViewEdit is that the scroller is active even for a short piece
  32. of text that does not continue beyond the visible view.  Is there a simple way
  33. to dynamically resize the TTEView based on the size of the text read from the
  34. file?
  35.  
  36.